finished API refactoring. created upload activity and camera capture activity