move file to lib and test folder