Dedicated server code split from client code

Thanks a lot for all that info Ben! that is exactly the kind of thing i was looking for