Refactoring http://nestededitor.sourceforge.net/