restructure.
types
more types
more typed implemented + cleanup
add uri library
more types.