Added basic DB functionality and implemented the database model for Zone.