Add layer loading from the json file