commit-21-9-2013-1751

refactored and cleaned up the public area code. have to work on the
read object files in the public section to sort out the header and
photo areas.