New API additions, Added module

played around, fixed up the module system, have it a bit better