Added some file managment and point drawing