DAO additions

Added DAO classes and consolidated index and myhome controllers into the
index (route based on authentication)