Start the difficult part about the tasks and the assignments.

RESTified a lot of stuff to make it more handy in the client side.