Adding basic key tests

• Added tests for key class (which is a root for most other classes)
• Fixed bugs associated with tests
• Updated interface to better accomodate how I would want to use it
refactoring

• moved the execute command required for the creation of each command
into the creation of the command itself
• added some code to allow passwords and db selection within redis