Renamed several methods and variables to follow rails coding standards
Added more useful code documentation
Added a method to try and avoid duplicates being added into the database. This will be most useful when loading up multiple logs.
Reran code documentation generation to account for updated method comments.