Added file reading code
Started datagram handling
Added some comments and other stuff