Committing initial version

Previous version had errors and now camera is working accurately, after
adding camera permission.