set up a basic controller in default.py