start of api for modules