add express server which returns date and JSON object dependant on input

if you create the new date object out here it will always be set to when to the server was originally run and not the current time.