Added file appender to logger, fixed some bugs, added small changes before going to prod.