First cut of user CLI API 

This won't work with numpy arrays, which given where this will be used seems like a mistake.