Use activerecord to store badges. See comment in README file.