added activity controller and activity chart generator