Added capability to edit email templates; added model for bookings; added model for querying the db.