after a lot of trial and error kidn of ember.js working a bit