added camera class, and main.cpp