adds a create method with classloader and gempath resolving issue #258.