Moved the existing code into this project, including the libraries, and
fixed up the code references (includes, prototype functions in header
files, etc) so that it works with eclipse properly now.