Simple CLI interface to database.