Wrote main.py code

Main.py code now runs, this will be the standard "running" method.

Altered a few things in repreader:
* Accounted for a possible incorrect login
* Changed the optionparser a bit so it doesn't use the pythonbot login