fixing return type

fixed app.py return information to json object and added call to draw
information to screen