refactor(app): move to commonjs style