massive restructure, and updated api documentation

* moved testsuite out of main package
* converted core modules (readers, networks, etc.) to packages, and
split methods into modules