microservicewatch: add functions file