More networking

-Rewritten some networking parts
-Remove Entity class
-Use Linq in a lot of cases
-Initial HP networking