Added logfile class

Added eclipse config files to .gitignore as it's stupid to have them in
the repository
Minor additions and tweaks