Format annd cleanup!
Use JSON-based profile as config, depercated old config.