refactored the embedding of ace to have smaller binaries and also support autocomplete