Fixed sell order parsing and reorganised libs