add worker loop, rename task class

--HG--
rename : app/models/tasks.rb => app/models/task.rb
save point, testing worker