Changed the way how the core is exposed to the Api.
Updated readme.
Updated module example to reflect new Api usage.