Filled in most of the initial files and wrote a logging system.
I'll write the socket system and fill in the automake stuff sometime tomorrow.