Added documentation, updated Makefile, moved dumped headers to own file.