Make config compile independent of cli
Introduce config.{load,dump}
Add compile on install feature