diff --git a/CMakeLists.txt b/CMakeLists.txt
index c61cd24f5380b5c660398f859c967714e93bcf61..790ab5f093bd523fc120a375031bb2ad3a0a662c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -382,6 +382,7 @@ endif()
 add_subdirectory (external)
 
 ### Base directories
+add_subdirectory (algo)
 add_subdirectory (core)
 add_subdirectory (sim)
 add_subdirectory (reco)
diff --git a/algo/CMakeLists.txt b/algo/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..489eba06c8480655ea7876aea66b9013f3e42fe7
--- /dev/null
+++ b/algo/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory (data)
diff --git a/algo/data/CMakeLists.txt b/algo/data/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..817de8ab132beb534e263408a7e90dba7cd7fdff
--- /dev/null
+++ b/algo/data/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Create a library called "libCbmOnlineData" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+   ${CMAKE_SOURCE_DIR}/core/data
+   ${CMAKE_SOURCE_DIR}/core/data/sts
+)
+
+include_directories(${INCLUDE_DIRECTORIES})
+
+set(SYSTEM_INCLUDE_DIRECTORIES
+  ${Boost_INCLUDE_DIR}
+)
+
+include_directories(SYSTEM ${SYSTEM_INCLUDE_DIRECTORIES})
+
+set(SRCS
+  ${CMAKE_SOURCE_DIR}/core/data/sts/CbmStsDigi.cxx
+)
+
+
+ADD_DEFINITIONS(-DNO_ROOT)
+
+#---Create a shared library with geneated dictionary
+add_library(OnlineData SHARED ${SRCS})