Merge pull request #37 from blackshadowshade/interface

Created BMInterface
Merge pull request #38 from blackshadowshade/api

AJAX tidying, new front-end web pages
Merge pull request #39 from blackshadowshade/database

Added SQL for creating database, plus some basic interfaces from BMInterface
Merge remote-tracking branch 'upstream/master' into api_nomock