
The main steps of the method can be followed up in the code starting from 
the 'registration' method in src/Process/Registration.java. 