add url structure to flask server