First order of business is to check to be sure that you have the rights or permissons needed to use your e-book in that way. Depending on how you purchased the e-book and where you plan to present the class, you may be on the edge of the law. If you have any doubts, contact the author of the e-book and ask for their permission to use it for teaching... I've never heard of an author refusing permission, but it is better to be safe than sorry!
Once you're legal, the odds are pretty good that calibre - E-book management
will do what you want.