adds a classes action to the app