create controller /cli
create init script for api