Added Command Line Support

Added Command Line Support. Ready for npm