Added DataAccessLayer implementation. Some changes in the interface.