load classes and make an instance