serving directories

added ability to server a directory as well as a single script.