add resource()
fix GET
update readme