added Options to NewClient, and Resource binding to Options