added gem package task to rakefile, cleaned up lib directory