Moving all realtime classes to lens. Updated build system with CMake.