Update and rename methods.md to api.md