added docs/ directory and fixed form validation.

added mongoose to the project and a companion test file in the test/
directory and added commander CLI you can now put -p to make the server
run on a given port.