some changes and refactoring
Merge branch 'master' of https://github.com/michaelleiser/phd