Removing a freewheel or sprocket from a hub or cranks can be an incredibly awkward job. Adam of www.tartybikes.co.uk explains a couple of very effective methods that might make your life easier!
Big adjustable spanner
Some form of extension for leverage (scaffolding works well!)
A very sturdy vice