Added some segmentation stuff, and some broken opencv library loader stuff