Adds GenericDAO, connects to the database