Adds all the classes and resources.