Added endianness functionality, register output key=>value association (name an output whatever you want), and API documentation.