added model class, postcontroller from template and a simple partialview for blogposts