Added models migration.
Added settings to make tables as abstract.
Added custom log handlers.