add scaffolding for api