get basic cli loop standing up, fix declspecs