Refactoring of a photoshop type application framework, and implementation of a GUI