Removed database instance from RetailSystemController.

Leave interaction with database to the RetailSystemModel.