created layout.erb

simplified index.erb and edit.erb files