basic database

not final yet maybe