Setup framework of activity system