Simple todo list API with Flask