Implements the adapter.py and facade.py files.