cleanup
+reworked error codes for the 4xx to be user and 5xx to be server, +fixed the fact that you can now mistakenly submit strings for asn without the application breaking +updated function docstrings