Added new example, improved loadConfig, signConfig etc.