Moved content parsing to its own class, fixed a bug w/ logging and added a logging config file