Moving ruby files into lib folder