added first version of db tables and tested some features