renamed main JS file
Restructured the file setup