SAMOA-60: update package name in doc
diff --git a/documentation/Adaptive-Model-Rules-Regressor.md b/documentation/Adaptive-Model-Rules-Regressor.md
index ff6dc01..62e483a 100644
--- a/documentation/Adaptive-Model-Rules-Regressor.md
+++ b/documentation/Adaptive-Model-Rules-Regressor.md
@@ -19,7 +19,7 @@
 The number of _Learner PIs_ can be set with the `-p` option:
 
 ```
-PrequentialEvaluationTask -l (com.yahoo.labs.samoa.learners.classifiers.rules.VerticalAMRulesRegressor -p 4)
+PrequentialEvaluationTask -l (org.apache.samoa.learners.classifiers.rules.VerticalAMRulesRegressor -p 4)
 ```
 
 ### Horizontal Adaptive Model Rules Regressor
@@ -35,6 +35,6 @@
 The number of _Learner PIs_ can be set with the `-p` option and the number of _Model Aggregator PIs_ can be set with the `-r` option:
 
 ```
-PrequentialEvaluationTask -l (com.yahoo.labs.samoa.learners.classifiers.rules.HorizontalAMRulesRegressor -r 4 -p 2)
+PrequentialEvaluationTask -l (org.apache.samoa.learners.classifiers.rules.HorizontalAMRulesRegressor -r 4 -p 2)
 ```
 
diff --git a/documentation/Bagging-and-Boosting.md b/documentation/Bagging-and-Boosting.md
index 09572b6..9f599d2 100644
--- a/documentation/Bagging-and-Boosting.md
+++ b/documentation/Bagging-and-Boosting.md
@@ -22,7 +22,7 @@
 `(classifiers.ensemble.AdaptiveBagging -s 10 -l (classifiers.trees.VerticalHoeffdingTree))`
 
 ###### Only with SAMOA-MOA adapter
-`(classifiers.ensemble.AdaptiveBagging -s 10 -l (classifiers.SingleClassifier -l (com.yahoo.labs.samoa.learners.classifiers.MOAClassifierAdapter -l moa.classifiers.trees.HoeffdingTree)))`
+`(classifiers.ensemble.AdaptiveBagging -s 10 -l (classifiers.SingleClassifier -l (org.apache.samoa.learners.classifiers.MOAClassifierAdapter -l moa.classifiers.trees.HoeffdingTree)))`
 
 ### Boosting
 Boosting is a well known ensemble method, that has a very good performance in non-streaming setting. SAMOA implements the version of Oza and Russel (_Nikunj C. Oza, Stuart J. Russell: Experimental comparisons of online and batch versions of bagging and boosting. KDD 2001:359-364_)
diff --git a/documentation/Content-Event.md b/documentation/Content-Event.md
index 0a8ae9f..b8c7f88 100644
--- a/documentation/Content-Event.md
+++ b/documentation/Content-Event.md
@@ -9,7 +9,7 @@
 ContentEvent has been implemented as an interface in SAMOA. Users need to implement `ContentEvent` interface to create their custom message classes. As it can be seen in the following code, key is the necessary part of a message.
 
 ```
-package com.yahoo.labs.samoa.core;
+package org.apache.samoa.core;
 
 public interface ContentEvent extends java.io.Serializable {
 	
@@ -36,7 +36,7 @@
 Following is the example of a `Message` class which implements `ContentEvent` interface. As `ContentEvent` is an interface, it can not hold variables. A user-defined message class should have its own data variables and its getter methods. In the following example, `value` variable of type `Object` is added to the class. Using a generic type `Object` is beneficial in the sense that any object can be passed to it and later it can be casted back to the original type. The following example also adds a `streamId` variable which stores the `id` of the stream the message belongs to. This is not a requirement but can be beneficial in certain applications.
 
 ```
-import com.yahoo.labs.samoa.core.ContentEvent;
+import org.apache.samoa.core.ContentEvent;
 
 /**
  * A general key-value message class which adds a stream id in the class variables
diff --git a/documentation/Developing-New-Tasks-in-SAMOA.md b/documentation/Developing-New-Tasks-in-SAMOA.md
index b028bde..faefbef 100644
--- a/documentation/Developing-New-Tasks-in-SAMOA.md
+++ b/documentation/Developing-New-Tasks-in-SAMOA.md
@@ -12,7 +12,7 @@
 
 ![Hello World Task](images/HelloWorldTask.png)
 
-To develop the task, we create a new class that implements the interface `com.yahoo.labs.samoa.tasks.Task`. For convenience we also implement `com.github.javacliparser.Configurable` which allows to parse command-line options.
+To develop the task, we create a new class that implements the interface `org.apache.samoa.tasks.Task`. For convenience we also implement `com.github.javacliparser.Configurable` which allows to parse command-line options.
 
 The `init` method builds the topology by instantiating the necessary `Processors`, `Streams` and connecting the source processor with the destination processor.
 
@@ -151,13 +151,13 @@
 To run the example in local mode:
 
 ```
-bin/samoa local target/SAMOA-Local-0.0.1-SNAPSHOT.jar "com.yahoo.labs.samoa.examples.HelloWorldTask -p 4 -i 100"
+bin/samoa local target/SAMOA-Local-0.0.1-SNAPSHOT.jar "org.apache.samoa.examples.HelloWorldTask -p 4 -i 100"
 ```
 
 To run the example in Storm local mode:
 
 ```
-java -cp $STORM_HOME/lib/*:$STORM_HOME/storm-0.8.2.jar:target/SAMOA-Storm-0.0.1-SNAPSHOT.jar com.yahoo.labs.samoa.LocalStormDoTask "com.yahoo.labs.samoa.examples.HelloWorldTask -p 4 -i 1000"
+java -cp $STORM_HOME/lib/*:$STORM_HOME/storm-0.8.2.jar:target/SAMOA-Storm-0.0.1-SNAPSHOT.jar org.apache.samoa.LocalStormDoTask "org.apache.samoa.examples.HelloWorldTask -p 4 -i 1000"
 ```
 
-All the code for the HelloWorldTask and its components can be found [here](https://github.com/yahoo/samoa/tree/master/samoa-api/src/main/java/com/yahoo/labs/samoa/examples).
+All the code for the HelloWorldTask and its components can be found [here](https://github.com/yahoo/samoa/tree/master/samoa-api/src/main/java/org/apache/samoa/examples).
diff --git a/documentation/Distributed-Stream-Frequent-Itemset-Mining.md b/documentation/Distributed-Stream-Frequent-Itemset-Mining.md
index 1730f6c..5434c24 100644
--- a/documentation/Distributed-Stream-Frequent-Itemset-Mining.md
+++ b/documentation/Distributed-Stream-Frequent-Itemset-Mining.md
@@ -22,7 +22,7 @@
 Following is an example of the command used to run the SAMOA FIM task.
 
 ```
-bin/samoa storm target/SAMOA-Storm-0.0.1-SNAPSHOT.jar "FpmTask -t Myfpmtopology -r (com.yahoo.labs.samoa.fpm.processors.FileReaderProcessor -i /datasets/freqDataCombined.txt) -m (com.yahoo.labs.samoa.fpm.processors.ParmaStreamFpmMiner -e .1 -d .1 -f 10 -t 20 -n 23 -p 0.08   -b 100000 -s com.yahoo.labs.samoa.samplers.reservoir.TimeBiasedReservoirSampler) -w (com.yahoo.labs.samoa.fpm.processors.FileWriterProcessor -o /output/outPARMA) "
+bin/samoa storm target/SAMOA-Storm-0.0.1-SNAPSHOT.jar "FpmTask -t Myfpmtopology -r (org.apache.samoa.fpm.processors.FileReaderProcessor -i /datasets/freqDataCombined.txt) -m (org.apache.samoa.fpm.processors.ParmaStreamFpmMiner -e .1 -d .1 -f 10 -t 20 -n 23 -p 0.08   -b 100000 -s org.apache.samoa.samplers.reservoir.TimeBiasedReservoirSampler) -w (org.apache.samoa.fpm.processors.FileWriterProcessor -o /output/outPARMA) "
 ```
 
 Parameters:
diff --git a/documentation/Executing-SAMOA-with-Apache-Avro-Files.md b/documentation/Executing-SAMOA-with-Apache-Avro-Files.md
index c31fcdf..e60118e 100644
--- a/documentation/Executing-SAMOA-with-Apache-Avro-Files.md
+++ b/documentation/Executing-SAMOA-with-Apache-Avro-Files.md
@@ -87,7 +87,7 @@
 #### Iris Dataset - JSON Encoded AVRO Format
 
 ```
-{"type":"record","name":"Iris","namespace":"com.yahoo.labs.samoa.avro.iris","fields":[{"name":"sepallength","type":"double"},{"name":"sepalwidth","type":"double"},{"name":"petallength","type":"double"},{"name":"petalwidth","type":"double"},{"name":"class","type":{"type":"enum","name":"Labels","symbols":["setosa","versicolor","virginica"]}}]}  
+{"type":"record","name":"Iris","namespace":"org.apache.samoa.avro.iris","fields":[{"name":"sepallength","type":"double"},{"name":"sepalwidth","type":"double"},{"name":"petallength","type":"double"},{"name":"petalwidth","type":"double"},{"name":"class","type":{"type":"enum","name":"Labels","symbols":["setosa","versicolor","virginica"]}}]}  
 {"sepallength":5.1,"sepalwidth":3.5,"petallength":1.4,"petalwidth":0.2,"class":"setosa"}  
 {"sepallength":3.0,"sepalwidth":1.4,"petallength":4.9,"petalwidth":0.2,"class":"virginica"}  
 {"sepallength":4.7,"sepalwidth":3.2,"petallength":1.3,"petalwidth":0.2,"class":"virginica"}  
@@ -97,7 +97,7 @@
 #### Iris Dataset - Binary Encoded AVRO Format
 
 ```
-Objavro.schema΅{"type":"record","name":"Iris","namespace":"com.yahoo.labs.samoa.avro.iris","fields":[{"name":"sepallength","type":"double"},{"name":"sepalwidth","type":"double"},{"name":"petallength","type":"double"},{"name":"petalwidth","type":"double"},{"name":"class","type":{"type":"enum","name":"Labels","symbols":["setosa","versicolor","virginica"]}}]} !<khCrֱS빧ީȂffffff@      @ffffffٙٙɿ       @ffffffٙٙ@ڙٙٙɿΌ͌͌@ڙٙٙ	@Ό͌͌ٙٙɿΌ͌͌@      𿦦ffff@ڙٙٙɿ !<khCrֱS빧ީ
+Objavro.schema΅{"type":"record","name":"Iris","namespace":"org.apache.samoa.avro.iris","fields":[{"name":"sepallength","type":"double"},{"name":"sepalwidth","type":"double"},{"name":"petallength","type":"double"},{"name":"petalwidth","type":"double"},{"name":"class","type":{"type":"enum","name":"Labels","symbols":["setosa","versicolor","virginica"]}}]} !<khCrֱS빧ީȂffffff@      @ffffffٙٙɿ       @ffffffٙٙ@ڙٙٙɿΌ͌͌@ڙٙٙ	@Ό͌͌ٙٙɿΌ͌͌@      𿦦ffff@ڙٙٙɿ !<khCrֱS빧ީ
 ```
 
 #### Forest CoverType Dataset 
diff --git a/documentation/Executing-SAMOA-with-Apache-Storm.md b/documentation/Executing-SAMOA-with-Apache-Storm.md
index 0fcdea2..3a38a2e 100644
--- a/documentation/Executing-SAMOA-with-Apache-Storm.md
+++ b/documentation/Executing-SAMOA-with-Apache-Storm.md
@@ -22,8 +22,8 @@
 
 ## List of custom serializations
 kryo.register:
-    - com.yahoo.labs.samoa.learners.classifiers.trees.AttributeContentEvent: com.yahoo.labs.samoa.learners.classifiers.trees.AttributeContentEvent$AttributeCEFullPrecSerializer
-    - com.yahoo.labs.samoa.learners.classifiers.trees.ComputeContentEvent: com.yahoo.labs.samoa.learners.classifiers.trees.ComputeContentEvent$ComputeCEFullPrecSerializer
+    - org.apache.samoa.learners.classifiers.trees.AttributeContentEvent: org.apache.samoa.learners.classifiers.trees.AttributeContentEvent$AttributeCEFullPrecSerializer
+    - org.apache.samoa.learners.classifiers.trees.ComputeContentEvent: org.apache.samoa.learners.classifiers.trees.ComputeContentEvent$ComputeCEFullPrecSerializer
 ```
 <!--
 Or, if you are using SAMOA with optimized VHT, you should use this following configuration file:
@@ -33,8 +33,8 @@
 
 ## List of custom serializations
 kryo.register:
-     - com.yahoo.labs.samoa.learners.classifiers.trees.NaiveAttributeContentEvent: com.yahoo.labs.samoa.classifiers.trees.NaiveAttributeContentEvent$NaiveAttributeCEFullPrecSerializer
-     - com.yahoo.labs.samoa.learners.classifiers.trees.ComputeContentEvent: com.yahoo.labs.samoa.classifiers.trees.ComputeContentEvent$ComputeCEFullPrecSerializer
+     - org.apache.samoa.learners.classifiers.trees.NaiveAttributeContentEvent: org.apache.samoa.classifiers.trees.NaiveAttributeContentEvent$NaiveAttributeCEFullPrecSerializer
+     - org.apache.samoa.learners.classifiers.trees.ComputeContentEvent: org.apache.samoa.classifiers.trees.ComputeContentEvent$ComputeCEFullPrecSerializer
 ```
 -->
 
@@ -86,7 +86,7 @@
 The complete command to execute SAMOA is:
 
 ```
-bin/samoa storm target/SAMOA-Storm-0.0.1-SNAPSHOT.jar "PrequentialEvaluation -d /tmp/dump.csv -i 1000000 -f 100000 -l (com.yahoo.labs.samoa.learners.classifiers.trees.VerticalHoeffdingTree -p 4) -s (com.yahoo.labs.samoa.moa.streams.generators.RandomTreeGenerator -c 2 -o 10 -u 10)"
+bin/samoa storm target/SAMOA-Storm-0.0.1-SNAPSHOT.jar "PrequentialEvaluation -d /tmp/dump.csv -i 1000000 -f 100000 -l (org.apache.samoa.learners.classifiers.trees.VerticalHoeffdingTree -p 4) -s (org.apache.samoa.moa.streams.generators.RandomTreeGenerator -c 2 -o 10 -u 10)"
 ```
 The example above uses [Prequential Evaluation task](Prequential-Evaluation-Task) and [Vertical Hoeffding Tree](Vertical-Hoeffding-Tree-Classifier) classifier. 
 
diff --git a/documentation/Processor.md b/documentation/Processor.md
index 8891cd7..4031581 100644
--- a/documentation/Processor.md
+++ b/documentation/Processor.md
@@ -48,7 +48,7 @@
 
 ### Preview of EntranceProcessor
 ```
-package com.yahoo.labs.samoa.core;
+package org.apache.samoa.core;
 
 public interface EntranceProcessor extends Processor {
     public boolean isFinished();
diff --git a/documentation/SAMOA-for-MOA-users.md b/documentation/SAMOA-for-MOA-users.md
index b091e2a..dfd9727 100644
--- a/documentation/SAMOA-for-MOA-users.md
+++ b/documentation/SAMOA-for-MOA-users.md
@@ -7,8 +7,8 @@
 
 * There is no GUI interface in SAMOA
 * You can run SAMOA in the following modes:
-   1. Simulation Environment. Use `com.yahoo.labs.samoa.DoTask` instead of `moa.DoTask`   
-   2. Storm Local Mode. Use `com.yahoo.labs.samoa.LocalStormDoTask` instead of `moa.DoTask`
+   1. Simulation Environment. Use `org.apache.samoa.DoTask` instead of `moa.DoTask`   
+   2. Storm Local Mode. Use `org.apache.samoa.LocalStormDoTask` instead of `moa.DoTask`
    3. Storm Cluster Mode. You need to use the `samoa` script as it is explained in [Executing SAMOA with Apache Storm](Executing SAMOA with Apache Storm).
    4. S4. You need to use the `samoa` script as it is explained in [Executing SAMOA with Apache S4](Executing SAMOA with Apache S4)
 
diff --git a/documentation/Task.md b/documentation/Task.md
index e583ce7..03648ae 100644
--- a/documentation/Task.md
+++ b/documentation/Task.md
@@ -7,10 +7,10 @@
 
 ###1. Implementation
 ```
-package com.yahoo.labs.samoa.tasks;
+package org.apache.samoa.tasks;
 
-import com.yahoo.labs.samoa.topology.ComponentFactory;
-import com.yahoo.labs.samoa.topology.Topology;
+import org.apache.samoa.topology.ComponentFactory;
+import org.apache.samoa.topology.Topology;
 
 /**
  * Task interface, the mother of all SAMOA tasks!