Added post functionality, a few other minor fixes