rename engine to libengine