change path of require function
major update

Got a framework for the API in place. Next step is to actually try and
build it.