Setting up the classes and settings