Adding to_hash methods to builder and properties
Refactored separate configs to use a config class