added rake file to build
minor modifications.