started modularizing the camera code
improved listener code
improved the listeners
further modularized camera code