add a lot of missing commands
add initial support for multiple databases