Config test

Removed the need for separate constants to store default settings and replaced them with an attribute.

Several minor changes where also made.