First version of db schema