Changed to use CouchDB

Changed post URL to that of the CouchDB, also added boolean so that only
posts that actually contain data are sent to
the database