Separate the library into its own package