Added function to handle the choice of 'E' for modules. Next steps would include refactoring lesson service. There's a lot of DRY going on.