Updated facade.py and adapter.py