Converted codebase into more modular format.
Enabled auto brightness control on camera.
Added first unit test case.