breastfeeding

I'm planning on breastfeeding and was wondering if it's best to take a class or is it pretty straight forward? The hospital I go to has all these classes they want people to attend but they're expensive & I'm wondering if I even need it. I have a few online videos/books I can look at...so wondering if that would be enough? 
Also wondering if I should get a pump? I work from home so I'll pretty much be with baby 24-7...was thinking a manuel one would work just fine, just to have some backup?