Added initial setup of activities