Initial commit with SQLite document support

TODO - Saving and loading, misc admin functions.