Major restructure, step 2

Added in logging abilities, as well as uses for new config entries
Major restructure, step 3

Moved all .py and .pyc to /core/
Major restructure, step 4

Work on spam-handler
More config stuff
Cleaning of code