move everything to a lib folder