fixed file structure, genericDAO

moved misplaced files. implemented genericDAO