Added space to string cast
Moved tasks into their own class Tasks