raise error if request returns unexpected HTTP status
Renamed files and objects and added order functionality