Added a simple logger. Should rewrite to something that exports .csv or databasefile