Added Dao structure and gradle configuration.