Custom status code

Added support for the Flask response to contain a user-defined status code