add Classes and Media pages