added README and implemented better `delegate` functionality