Move source code into chan directory
Move code up out of sync directory
Add Makefile