add enums and documentation on Result class
add a base helper class for API structs
add get_host_info() to API (not parsing coprocs yet)