add Resource schema
prepare activity view