Initial commit

Implement data structure initialization.
Implement Update routine.
Add type definitions.