Changes to ruby file and deleted unneccesary files