Refactor ILM stuff into github.com/notnowworld/ilm