Update equals and hashcode

Alright, I implemented pool and peer in the equals method. I also cleaned up some of the checkstyle errors. I still have the NPath and cyclomatic complexity high, so I might need some help lowering those values. So it is almost good to go.

@jgillham @Asmohr @gitAlexM @NWitt8