added readme and decode endpoint