Implemented pan functionality for sound effects.
Refactored camera class.