added type-specific setters and more exceptions
config file loading