implemented Load function for creating a hood instance from config.json