added validation and saving of total app rating and updated registry structure