License changed BSD to MIT.
pcounter/app.py: Add App class, main function moved in App class.
pcounter.py: update.