Doxyeninated the code issues exist, but good enough for now