Moved configuration to json