New Code Stuff

Ready to add - communication code (not everything completely finished
though)