Add flag to enable debug
Store keys and uuid in config file