Refactored gsr repository and customer registrations