Added the app class
Renamed alstuff.py to lib/db2.py