Cleaning code and refactoring.
Added generic to task.
Added EntityTask with automatic mapper initialization