Further implementation of the camera library.
Refactoring and beautification of various files.