reorganize nu++ library, add adhoc nupp::Closure, fix BPS callbacks