added post and comments
json stuff for models and new methods for domain objects
working on posts resource