refactoring + own log file for graves, close #74