implement gy_require as a method, allow for specifying version