Amended the GPG Generation Message
Restart ioloop if it crashes
Refactor the market object