Config cleanup and simplification

This converts the AppConfig interface into a struct that is directly populated via encoding/json.