Generalizing functionality and creating more base OpenStack classes