Added DataAccessLayer accessor to the EntityController
Small bug fixes
Modified the database example