Add main function for console interface in main
Add add credential option to console interface
Refactor tests for console interface
Refactor tests
Remove breakpoint in tests
Refactor tests
Remove credential parameter from Dabatase constructor
Redesign tests and update main to call db with real args
Fix main password setting