Judging from your code sample, it looks like you are just wanting to create this on a WSS site that is running on the local server (same server as this code is running)
If you are wanting to create a WSS document library (or any other WSS object) on the local server, then your best bet is to just leverage the SharePoint Object Model libraries. Just add a reference to the sharepoint DLL (Microsoft.SharePoint.dll), and then you can access the full range of WSS capabilities.
Please allow me to direct you to a (free) sharepoint developer training resource that I helped create last year: www.sharepoint123.com
If you follow the link there to download the content, you will see level 100, 200, and 300 presentations + Hands On Lab downloads. You will probably be most interested in the Level 300 download, there is a PDF manual for the entire hands-on lab session. Lesson 1 / Exercise 2 in that lab manual is pretty much a walkthrough of how to build an external program that manipulates WSS sites. You can work with Document Libraries in much the same way. Also, this sample is written as a Windows Forms application, but you could just as easily have written it as a Web application.