Refactor modules into discrete files and set up mix to work with escriptize.