How do I save a class to Library?