Adding validator

Added mongoose validator library and added validator commands to submission schema.