LD-56 Generate template main function for module