Move some lib files to boilerplate