move to swagger + grape for api