Add a few basic functions, test, and first version of loadModule