The code for the class