Changing module structure to an extension for BasicObject