added basePath option to module loaders
Merge branch 'BIP-139' of github.com:bipio-server/bipio into BIP-139