python app based on flask, help to designer gene