Adding opencv2 framework and fixing project dependency issues