move rake file to lib