rewriting http-server.py to encompass json and png file - yay111111