Added comment count and helpers retrieving in tasks
Refactored retrieving tasks and profiles, added routines.execQuery method