fixed lint for none gcc compile
fixed ununsed function link
removed unused functions key_press and write_depth_map
moved common and camera to enum classes