Check if class exists

If another plugin loads the same class so not to cause issues,.