move globals to g object
make them not all start at node points
add README.md