Add more bit depths to framebuffer
Refactor main.cpp and add OpenCV view option
Motion detection working. Added timing functions