Changed modules 'CoreObject', 'fail', 'Exception' and 'EventBus' to be usable with node.js,