refactor db for logs
Merge branch 'master' of https://github.com/greato/litwritesabook

Conflicts:
	lit.sqlite3