finish library basic setup