first step to a nicer code style of admin
Merge pull request #134 from niphlod/issue/admin_refactor

first step to a nicer code style of admin