Cleanup repo and add autotools to build