separate BaseLibrary from Library, allow to use BaseLibrary from macros
added