Added better camera interface and added a nanosecond timer.