More add peer functionality, cleaned up some routes and crypto info now loads into some lockable globals