[ticket/40] Add version check

Fixes #40