Removed some dependencies

Trying to better modularize the libraries. Ideally, each library should
depend on as few other libraries as possible. Removed tablehelper,
config and files from logger.