fixed inconsistent use of cls parameter in addlink function (see github issue #5)
Merge branch 'master' of github.com:MaxiNet/MaxiNet