First whack at processing log files and storing them in db