Completely removed autotools build system.

Also cleaned up the project's root, moving some files
into subdirectories.