add first version of database module