moved rye.php to lib folder