module for rest services