Added design for the api