Add commandline

Adding command line interface! I may have done this all wrong but it seems to work.

BTW this thing is awesome. Its already in my irc bot.