refactoring
added mediatorJS lib
refactoring of PathUtil
refactoring of FileController
Can upload photos [not tested, because AlbumService is not working correctly]