Data Manager

Logs table, log model, functions for working with DB.