Refactored some test cases and extracted dummy API to a new file.
Module loader skeleton.
Documented the code.