Initial commit, working version.

Signed-off-by: Peter Hense <peter.hense@gmail.com>