Started making DAO
Finished implementing DAO and refactored code in child view controller too