Fixed some bugs and worked on Network Replication

in addition, spawn is in progress of being completed.