refactored general REST requests into request along with batch
indexing,contraints and uniqueness
increased the version number
fixed s small bug that didnt take empty labels into consideratinos.