wrap grape api in modules