Adding skeleton code to handle requests