Initial Flask implementation