Improved structure of project, rendering index

Included Swig & Consolidate JS