fix bugs in component creation
app init on browser
remove app.ready; components should be used instead