fixed classes structure, fixed extends function in library