add Classes and Resource