Move index file in a separate controller