set module cache by namespace. add locateSync method.
fix issue with game loading and caching.