Adding support for loading layout from config file