Commands database

Added a basic SQLite database wrapper for command storage