splitted up controller
Merge pull request #16 from DineshRai/lasse

splitted up controller