removed smart files and linked navigation to layout tempalte