Split library into euler module