Bug fix: Missing `return` statement.
Initial API.

Adds initial api (+ class declarations) for basic classes.
Merge pull request #6 from peelonet/initial-api

Initial api