refactored
removed old code
added documentation and renamings
added logger and debugging option
removed debug logging
can not use require on relative paths
added option 'main' which will be used if the package has no main files defined
added environment based main property overriding
update documentation
update dependencies
version 0.2.0