Renamed services.Renderer to service.ApiContext
Added database connection to ApiContext