Refactored registrationapp to use new AppTemplate and App config