Refactored db context into CibBox.Server