Moving all rb scripts to lib