Bug fixes, task context completization

Fixed bugs, finished  task context implementation.
Imrpoved file naming for uploaded files.