remove lots of vendor code and update README