(fix) refactored some lines.
(fix) removed DS_Store files. sheesh.
Merge pull request #1 from justinpinili/dbRefactor

.DS_Store removed and added to gitignore.