clean up logger messages
Refactor, only mysql will store in db, SQLite will use secondary gson file.

Also make select for meta always be transactioned.
First version with ability to pull documents.