generate emberjs structure