upated readme and api, still need fixing