Add linenumbers, factor out gcd stuff
add vislib