refactoring publish to be more flexible and use consistent package names; support for library-based LAPACK ops