moved some views to partials, added more interface for posts
refactorings