moving content to main index file