Completed facade.py and adapter.py