removed unused index file
Made layout types load based on a config