Implement webserver based on Flask framework