moved initial view load and state to data.cljs