As for a grinder:
Under no circumstances, on penalty of death, but one of those chopper things. Never, ever.
Go for a BURR grinder, preferably a conical burr grinder.
Get one with at least 25-30 settings...it allows some fine changes that make a lot of difference. Also allows for very coarse (french press) to very fine (espresso) grind. I have a Rancilio Rocky Grinder which has 55 settings. I'm very pleased with it.
As for tamping...that depends on you espresso machine. My Gaggia is best with a very gentle tamp, while other machines recommend 30-50 pounds tamp pressure. It all depends on your machine.
Finally,IMO, the gold standard of all coffee information websites:
www.sweetmarias.com
It has a Library and is a gold mine of information.