added superclass for activities and library is displayed