refactor ctx, return a module and module provides .Run() method
fix resolve file to support compiled and assembly before raw source