revert lib to src
add entry points for library addons