comments and some refactoring

moved getting the expected type (ie the one that the user sees) to a
separate function
updated readme
linted
added errorring out if arg-err is passed a weird schema type
updated bundle