Ported over old emo code to this project. This code is not to be used in production, only for reference.