Initial program. Needs a lot more error handling.
Add ability to specify server and add better debug messages.