Moved init and version functions to waveplot.c/.h
Added Makefile changes from first release.