[network.py] add checkBuffer function
[sharedClasses.py] move shared classes into seperate module
[network.py] refactor to use queues instead of lists for buffer