Refactor controllers and helpers

move db actions to models package
refactor helpers
better controller composition
start posts controller
we should be adding TODOs to the code when something needs to be taken care of in the future or would benefit from a better practice