Added init to api module
Error module can set node to pause when something is wrong