Removed global points variable

And added delete tool button and save tool button