This Is my 2010 Specialized P1 AM. I am a complete novice when it comes to what parts to use to rebuild it.

Evans Cycles | Specialized P1 All Mountain 2010 Mountain Bike | Online Bike Shop

I neglected the bike somewhat so most parts need replacing.
A few of the parts i have in mind already are:
  • Fork: Rockshox XC30 TK Coild 100mm
  • Front Derailleur: Shimano Alivio M412
  • Chainset: Shimano FC-M171 Triple Chainset
  • Cassette: Shimano HG51 Cassette 8-Speed
  • Chain: KMC X8-99 8 Speed Chain

Will these parts fit correctly and also are they good? They seem to match up to the original spec of the bike and are well reviewed.

Also, I still am not sure what rear derailleur, Gear cables, brake pads (and brake disc, needed because front one is slightly bent) to get. The concept of the differences between the different types of these just entirely escapes me and I wouldn't know where to begin!

Thank you very much to anyone who can point me in the right direction with all this stuff. I know there's a lot of help that I need but any information you can offer I will be very grateful for!