moved scripts to js files
Moved hardcoded values to css
Added drawing rects and lines.
Cleanup