What is Cat 5 and Cat 8 wiring.

Thats the stuff alright.

Obviously you'll need to wired the cables into the sockets from behind but you should be able to buy cables pre wired for the router to wall connection, much easier than having to crimp your own.