refactors gui
refactors code samples
Merge pull request #21 from folieadrien/refactor

Refactor