rework file handling
basic git integration