Add base classes for managers and entities.
Add assign method to mysql (no send table name in every request)