Add basic classes and new table to DB

Signed-off-by: Kiril Nesenko <nesenko@gmail.com>