Added purchaserequest in model factory and some change in request command