Extracted the tag and twitter user filters and moved helpers to helpers.php.
Refactoring to remove duplication.
Done refactoring for now. Removed most of the duplication. Created the posts model.