Added ActivityInstance.js (based on Activity.js)