Added logging TODO: add file appender and logging tests and dashboard stuff