Added basic CLI mode
Merge pull request #6 from morsdyce/cli

Added basic CLI mode