[feature request] Split `lsblk` to core library and command line tool itself.

Hi,
I've got an idea to split lsblk to a core library (*.so) and binary which will use this library.
Sometimes I need to call lsblk from different languages and then parse its output.
And also, If I need to add additional features, it would be much easier to add them to the high-level libraries.

For example, together with fields to output I'm using filters and show only filtered results. As a filter regex with name/vendor could be passed or min size of device, etc.

Any suggestions, concerns on this?

Thanks.