json views

added ruby template initializer