Added Automatic caching option for the DAO generator

Updated the UI generator to take advantage of the new DAOs