added rakefile for build and test