Some more clean up. Separated specific internal types. Added half-working itoa.