Extract some code to library