Make app.py port configurable. Closes #184.