Add $version support
Some linting
Add version test
Merge pull request #22 from netmanagers/master

Add $version management