refectoring, setup layouts and move index in home to item controller