Updated configuration class, added default values and setters