Reorganized code files, added fine-grained pixel editing in opencv