Draft 1 of sqlite database schema