Extracted actual task from core
Added environment variable to specifiy task to start the server for
Merge pull request #1 from ZombieHunter/develop

Code seperation