Fix lint errors
Add rakefile