Initial working version of uCV implementation