expose public api for creating docserv instances

closes #9
0.1.0