Refactor upgrades to own class #95
Removing last post id and adding limit to query #95