Deleting scripts.js
Organizing the code. Added templates