Main config

Please don't merge yet.