Revert minor changes

fix index, change layout html to erb