Com-queue integration.

Got the client to store commands in the DB.