Add version parameter

This a working version of #21 with specs.