now with api

now with the grape api lib integrated