Move personal to controller and add tests for it

Linebreaks after every variable so that it is easier to read?