implemented libraries as package