Overhaul to how this module uses database. Database is now optional via auto_insertion->enabled = false
Updated formatting
General cleanup and commenting
Fixed PSR2 formatting issues
Merge pull request #8 from JoelGilliland/master

Small updates to DB and code cleanup