move extensions to their own dir
more reorg, moving lib code into lib, node is default, fixing tests/references