Reorganized files to allow for more modular php development. Added basic image viewing.