Added basic database support along with a couple of commands.