Remove debug
Integrate commonly used functions in the runtime