Moved registration switch statement to a file :bee: