Hey,
Sorry to here about you being hassled. Some cops just have nothing better to do than abuse the people. I agree w/ Dan. You probably don't need anything other than a license and a moped. However if you do need a title your states MVA or DMV will be able to give you a title the same as they would if you bought a used car someone lost the title to and it is definintly legal. You may also be able to get a public defender (I would not recomend it normally but the charges aren't to serious)
Good Luck,
john