refactoring for moar modularity...
mega refactoring done.
add logfiles to gitignore