created layout and index erb files with title and form function