take out unnecessary instance variables
remove unecessary sort in sql
refactor duplicate logic into private method
clean up formatting of code
mend
create a post model'
Merge pull request #3 from anirudh-eka/quick_refactors

Quick refactors