Explain why flask and flask-restful are required.