first functional draft of http listener using flask routes