basic CLI usage working
removed flask-specific template macros from CLI version