fix build
create lib and clean it
better startup time logging