Split library to 3 gems