Cannot agree more. Freshly roasted beans are probably the most overlooked part of making good coffee. You can definitely pull better espresso on a cheap machine using fresh beans, vs an expensive machine using old/crappy beans.
There's a bunch of expensive kak and gadgets being marketed as things that will 'improve' your brew. Insanely expensive tampers, filters for your filters. Water additives. Little wire gadgets to 'even out/distribute' your grind. Its endless.
In the end, the most important part is the beans (and how you treat them).
Always buy whole beans if you can. Grinding it freshly means you are guaranteed to still have all of the volatile compounds (and co2) that you pay so dearly for. Certain studies have shown you lose those compounds within hours to days of the coffee being ground.
Always store your beans in a sealed container (oxygen exposure is your enemy). Do not put it in the fridge. Do not put it in the freezer.

