created general action class so that all actions can inherit