route checker factory middleware
cleaned up schema desgiend removed base schema