Implemented debug mode
Added Rakefile