added .js.map to gitignore
refactored the code(src/gui/renderer.ts) significantly it now more structed.