Added cors support
Added photo upload
Added timeout changes to Hapi