camera implemented segmented control implemented database connection added