Add console command.
Merge pull request #2 from simi/console

Add console command.