Add direct exporting

Add possibility of direct exporting data. NodeJS also supports this (http://nodejs.org/api/modules.html#modules_module_exports)