File Structure change

Moved all JS files to appropriate directories,
added a JS file for main logic and CSS file.