libg3d types and initialization

types — All types used in libg3d
context — Libg3d initialization and configuration