Documented the db schema.
Added documentation to the settings file.
Error reporting, jshint tidy up.
Started fixing post/create