creating base clases