Fixed php strict errors. updated static methods in models. new post model. edited sql scripts, tests all pass now.