How to remove the build in networking solution ?

In my project, there are tons of things that I don’t need such as multiplayer, like replication and other stuff. There are also the base classes such as GameMode, player pawn and player character. I don’t need all of those and I would like to remove them and have my own implementation, because I like coding and making things from scratch. So how do I do it? Thanks in advance!