refactor post creation, remove unneeded routes and views