Added Databse operations for privacy protection

This is the command line tool for database operations. Currently only two operations are implemented.