Moved swap code to model file. Need to fix bug for when amending an offer it creates a new one without deleting the old
Fixed bug for duplicate offers upon amend. Added new controller action for amending an offer
Deleted temp files