rename app.py
add basic test harness