doGet and doPost functions set up with minimal code.