Some changes to the structure

Changes to the structure and also included index.html into nodejs.