wrote some API/INFO-CTRL docs, refactored the API a bit