Refactor controllers and helpers

move db actions to models package
refactor helpers
better controller composition
start posts controller
the right way to add helper methods. though in a larger app I think we'd probably want to have a helpers package with files for different groups of helpers