DAO + query

developing DAO and queries