Removing prints and returning responses

Responses should be returned so they can be reused.