convert librarys to what i hope will be migrated to the public API