Make it possible to use switchns as a library
Merge pull request #186 from mfojtik/fileexists

Make it possible to use switchns as a library