corrected *-before methods.
added categories on the model side
Merge branch 'master' of https://github.com/sirherrbatka/herrblog