namespace :statistics do

  desc "start the server"
  task :start => :application do
    Statistics.start unless PICKY_ENVIRONMENT == 'test'
  end
  
  desc "stop the server"
  task :stop => :application do
    Statistics.stop unless PICKY_ENVIRONMENT == 'test'
  end
  
end