Merge pull request #22 from shyamalan/master

modifying the rest paths for admin apis
changed the order of parameters and some refactoring for file download