added jbuilder and implimented views