Initial import. Add line editor basic functionality (without history recall).