Moved main-method to a new class. Closes #2