fixed ui.create method, cleaner params, ui class objects init and then call render