added routes folder

moved home page logic to home.js