added shell.py to use database interactively