Added packet and server code

Added packet types and code to handle the server logic within the
network manager.  Set up the threading system for the server with thread
safe locks on all shared data types.