Use an RDBMS instead of mongodb

This is a PR to address issue #15