public Fxml getLayout() throws Exception{
if (layout == null){
String path = "/" + configuration.getConfigurationDirectory() + "/uc/pageStructure.fxml";
//TODO refactor and move the static part of the path to a central position
XmlInContext context = new XmlInContext();
context.setResourceSystem(new ClasspathResourceSystem());
context.setResourceId(path);
layout = new Fxml(context);
}
return layout;