moving stuff to lib folder