PaaS sample code, intended to run in localhost and PaaS