Convert the easy db calls to active record for cleanliness. See #15.
Rewrite the years method to use active record. Closes #15.