Make line tool and change tool

Conflicts:
	scripts.js
Merge pull request #3 from romanromanenko/line_tool

Make line tool and change tool