Added restful api for Module