split up the code.
Merge branch 'master' of https://github.com/erm1s/cookiemonster