added first revision of db schema