Initial release: bg removal, controur detection, pieces unification and extraction