Constify a few methods.
Move out the existing makefile.
First cut at autotools.