Add gemd rakefile and model