remove unneeded init file
moved getinstance to mpi.factory, created get mpi and sched and options function in the bin. so we can test easier
added testcases
fixed docstring
Merge pull request #24 from JensTimmerman/master

small refactoring + added unit test