mostly finished - cleanup code and add more annotation
mostly finished - cleanup code and add more annotation

seg/2016-ml-contest,seg/2016-ml-contest,esa-as/2016-ml-contest,esa-as/2016-ml-contest,seg/2016-ml-contest,esa-as/2016-ml-contest,seg/2016-ml-contest