Created the two classes