Initial structure

Defined initial interface and helper functions.