Added routes for getting Tasks in different stages
Function for getting Tasks in phase 'created', formatTasks function to class scope