Initial structure

Defined initial interface and helper functions.
Merge pull request #1 from wedaly/will/initial-structure

Initial structure