added core class of library