Serverside application to handle requests for twilamp