refactor the module implementation under the new meta language idea

new meta language idea:
macro is just meta call to function
refactor the module implementation under the new meta language idea