Refactor lots of code
- Show error notices up one line
- Create a new Post class