Added support for a user supplied directory
Also removed the testing WWW folder from git.