Added get_orders method

returns all orders, if passed a sid, it returns orders matching that sid