updated proxy to be instantiated via __metaclass__, api test case does not work properly yet for the module cache