Wrap up database layers and controllers