added refresh button
some clean
added ui.class