data libraries: API refactoring and improvements; backbone decoupling; role UI first implementation