Reworks config mechanism, and adds readme