Migration from boilerplate to library