Implemented Unit Of Work pattern. Detached controllers from DB.