Clean up photo file upload code
Add Ionic photo upload functionality
Recompile