Add more database functionality
Merge branch 'master' of https://github.com/GlimmerLabs/MathOverImages