introduced a custom module for rest calls