Fixed check if class exists
Add Config class
Cant remember