Move code out of main.py. Reorganise pakage to allow code separation and reuse. Add BaseHandlerClass. Add start of BlogHandler class