added photo capture and upload to aws functionality. also added configs separate file