Added yargs to package.json
Moved a bunch of stuff to reglex.common