Moved classes into different files.
Remove TaskInfo, refactorings.
Add getting task by id.