My question involves criminal law for the state of: New Jersey(Middlesex County)

I was arrested for possession of intent to distribute and school zone. I was ready to pull off when a officer approached my vehicle on foot from behind me. He told me not to move. He was asking why my eyes are red and I told him that I smoked two hours ago. Then he asked me for liscense and registration. everything came back clear and then he asked if he searched my car that I would not have nothing illegal and I said no. He started walking around the car and looked inside of a brown paper bag and he saw cigar guts, from a rolled blunt. he yanked me out of the car and he saw the blunt on the floor and he found close to a half of an ounce under the seat in a a tubaware container to keep the smell out. It was a saturday night so I had 470 dollars on me and I was on college avenue where there are bars and pizza stores. There was no evidence of baggies or a scale to prove that I was selling but I was charged with Intent to distribute. I dont know what can happen. I feel like something is not right in this case. Please some advice.