All functions written... now CLI