Changed indent to spaces
Get rid of home built option parsing

Replaced with optparse. PUBLIC_KEY / PRIVATE_KEY is fugly.. needs to be
fixed and stored in a configuration file.