Index and Main js

Added main index and main js files.