encapsulated everything into class, and added fully functional marker moving and watershedding, need collapse everything to one image