Minimal ui implementation
Code clan
Main and quit for ui