adds swagger for api documentation
updates nodemon
adds better validation for api endpoints