Added more Consts
More refactor.
Added grabcut algorithm.
added main funtions.