Added DataAccess logic. Added few tests for DataAccess. Modified model code tom support data access.