Added a different way of loading the classes file which fixes #9