Added basic (really basic) test cases - just to keep the framework ready.
Moved module loading and exporting related items to separate file as moduleio