'externally' versions of stuff, and some auto-formatting.
added some shebangs.
lib/, including core/*. Changes to how nomsu environments and importing work.