copied task's entity and model from wsCore's demo.
initial implementation of task entity and model.
some mods.