change to using global environment record in place of object
make it so module bindings work in cyclic dependencies, fix importing from local modules
build