seperation of server part 2 + some settlement/packet stuff