Adding IO code.
Adding makefile.
Some initial interface work.