New config system and tests

Imma pissin' wicked testah