diff --git a/MAC/APL/CURTDBDaemons/configure.in b/MAC/APL/CURTDBDaemons/configure.in
index cc2de7502754ea2c58927298629cb2f4653ae13e..8c63cfc81904acf9ae0556958692e4d79c34259f 100644
--- a/MAC/APL/CURTDBDaemons/configure.in
+++ b/MAC/APL/CURTDBDaemons/configure.in
@@ -57,11 +57,10 @@ lofar_COMPILETOOLS
 lofar_PVSS(1)
 lofar_INTERNAL(LCS/Common, common, , 1, Common/LofarTypes.h,,)
 lofar_INTERNAL(LCS/ACC/APS, aps, , 1, APS/ParameterSet.h,,)
-lofar_INTERNAL(MAC/GCF/GCFCommon, gcfcommon, , 1, GCF/GCF_Defines.h,,)
+lofar_INTERNAL(MAC/MACIO, MACIO, , 1, MACIO/MACServiceInfo.h,"kvt_protocol log_protocol",)
 lofar_INTERNAL(MAC/GCF/TM, gcftm, , 1, GCF/TM/GCF_Task.h,,)
 lofar_INTERNAL(MAC/APL/APLCommon, aplcommon, , 1, APL/APLCommon/APL_Defines.h,,)
 lofar_INTERNAL(MAC/GCF/RTDB, rtdb, , 1, GCF/RTDB/RTDB_PropertySet.h,,)
-lofar_INTERNAL(MAC/APL/APLProtocol, , , 1, APL/APLProtocol/LOG_Protocol.ph,,)
 
 dnl
 dnl Output Makefiles
diff --git a/MAC/APL/CURTDBDaemons/src/KeyValueLogger/KeyValueLogger.cc b/MAC/APL/CURTDBDaemons/src/KeyValueLogger/KeyValueLogger.cc
index 13e3487f08dfd716ea88bcd6673967aff7fc5838..e39fbb723d89346c358ece222a34e693a400d69b 100644
--- a/MAC/APL/CURTDBDaemons/src/KeyValueLogger/KeyValueLogger.cc
+++ b/MAC/APL/CURTDBDaemons/src/KeyValueLogger/KeyValueLogger.cc
@@ -23,16 +23,17 @@
 #include <lofar_config.h>
 #include <Common/LofarLogger.h>
 #include <APS/ParameterSet.h>
-#include <GCF/GCF_ServiceInfo.h>
+#include <MACIO/GCF_Event.h>
+#include <MACIO/MACServiceInfo.h>
+#include <MACIO/KVT_Protocol.ph>
 #include <GCF/PVSS/GCF_PVTypes.h>
 #include <GCF/PVSS/PVSSresult.h>
 #include <GCF/RTDB/DP_Protocol.ph>
-#include <APL/APLProtocol/KVT_Protocol.ph>
 #include "KeyValueLogger.h"
 
 namespace LOFAR {
+  using namespace MACIO;
   namespace GCF {
-    using namespace Common;
     using namespace TM;
     using namespace PVSS;
     using namespace RTDB;
diff --git a/MAC/APL/CURTDBDaemons/src/KeyValueLogger/KeyValueLogger.h b/MAC/APL/CURTDBDaemons/src/KeyValueLogger/KeyValueLogger.h
index a634ce432695fe4932e707c6d1ab8ad5179ec66c..11ce7cebbc8715357c41f8e707d50fb44d614fbb 100644
--- a/MAC/APL/CURTDBDaemons/src/KeyValueLogger/KeyValueLogger.h
+++ b/MAC/APL/CURTDBDaemons/src/KeyValueLogger/KeyValueLogger.h
@@ -31,6 +31,7 @@
 #include <Common/LofarLogger.h>
 #include <Common/lofar_map.h>
 #include <Common/lofar_list.h>
+#include <MACIO/GCF_Event.h>
 #include <GCF/TM/GCF_Control.h>
 #include <GCF/RTDB/DPservice.h>
 #include <log4cplus/helpers/socketbuffer.h>
@@ -38,6 +39,7 @@
 // Avoid 'using namespace' in headerfiles
 
 namespace LOFAR {
+  using namespace MACIO;
   namespace GCF {  
     namespace RTDBDaemons {
 
@@ -59,8 +61,8 @@ private:
 	};
 
 	// state methods
-	TM::GCFEvent::TResult initial     (TM::GCFEvent& e, TM::GCFPortInterface& p);
-	TM::GCFEvent::TResult operational (TM::GCFEvent& e, TM::GCFPortInterface& p);
+	GCFEvent::TResult initial     (GCFEvent& e, TM::GCFPortInterface& p);
+	GCFEvent::TResult operational (GCFEvent& e, TM::GCFPortInterface& p);
 
 	// helper methods
 	void	_registerClient(GCFPortInterface&	port,
diff --git a/MAC/APL/CURTDBDaemons/src/LoggingProcessor/LoggingProcessor.cc b/MAC/APL/CURTDBDaemons/src/LoggingProcessor/LoggingProcessor.cc
index 37abc6e44203f47916d1ec4bde04b15d6eb54fdd..2686c6ffd5cd796d5f5225d23cb77524846b002b 100644
--- a/MAC/APL/CURTDBDaemons/src/LoggingProcessor/LoggingProcessor.cc
+++ b/MAC/APL/CURTDBDaemons/src/LoggingProcessor/LoggingProcessor.cc
@@ -23,9 +23,10 @@
 #include <lofar_config.h>
 #include <Common/LofarLogger.h>
 #include <GCF/PVSS/GCF_PVTypes.h>
-#include <GCF/GCF_ServiceInfo.h>
+#include <MACIO/GCF_Event.h>
+#include <MACIO/MACServiceInfo.h>
+#include <MACIO/LOG_Protocol.ph>
 #include <GCF/PVSS/PVSSresult.h>
-#include <APL/APLProtocol/LOG_Protocol.ph>
 #include <GCF/RTDB/DP_Protocol.ph>
 #include <log4cplus/socketappender.h>
 #include "LoggingProcessor.h"
@@ -33,8 +34,8 @@
 using namespace log4cplus;
 using namespace log4cplus::helpers;
 namespace LOFAR {
+  using namespace MACIO;
   namespace GCF {
-    using namespace Common;
     using namespace TM;
     using namespace PVSS;
     using namespace RTDB;
diff --git a/MAC/APL/CURTDBDaemons/src/LoggingProcessor/LoggingProcessor.h b/MAC/APL/CURTDBDaemons/src/LoggingProcessor/LoggingProcessor.h
index 5e4c28865cca76a9e4e80167e4452dac8d702292..2b388e76f06b1e2fd4208793145c6572c1bc455e 100644
--- a/MAC/APL/CURTDBDaemons/src/LoggingProcessor/LoggingProcessor.h
+++ b/MAC/APL/CURTDBDaemons/src/LoggingProcessor/LoggingProcessor.h
@@ -31,6 +31,7 @@
 #include <Common/LofarLogger.h>
 #include <Common/lofar_map.h>
 #include <Common/lofar_list.h>
+#include <MACIO/GCF_Event.h>
 #include <GCF/TM/GCF_Control.h>
 #include <GCF/RTDB/DPservice.h>
 #include <log4cplus/helpers/socketbuffer.h>
@@ -38,6 +39,7 @@
 // Avoid 'using namespace' in headerfiles
 
 namespace LOFAR {
+  using namespace MACIO;
   namespace GCF {  
     namespace RTDBDaemons {
 
@@ -49,8 +51,8 @@ public:
 
 private: 
 	// state methods
-	TM::GCFEvent::TResult initial     (TM::GCFEvent& e, TM::GCFPortInterface& p);
-	TM::GCFEvent::TResult operational (TM::GCFEvent& e, TM::GCFPortInterface& p);
+	GCFEvent::TResult initial     (GCFEvent& e, TM::GCFPortInterface& p);
+	GCFEvent::TResult operational (GCFEvent& e, TM::GCFPortInterface& p);
 
 	// helper methods
 	bool _readFromPortData(TM::GCFPortInterface& 				port, 
diff --git a/MAC/APL/CURTDBDaemons/test/tKeyValueLogger.cc b/MAC/APL/CURTDBDaemons/test/tKeyValueLogger.cc
index 3683998329f6052a87df3cbbe0e71d8cf79d5b3e..6b618f217294571f6a521b2a0c6f0c759aadbc14 100644
--- a/MAC/APL/CURTDBDaemons/test/tKeyValueLogger.cc
+++ b/MAC/APL/CURTDBDaemons/test/tKeyValueLogger.cc
@@ -26,9 +26,9 @@
 //# Includes
 #include <Common/LofarLogger.h>
 #include <Common/lofar_string.h>
-#include <GCF/GCF_ServiceInfo.h>
+#include <MACIO/MACServiceInfo.h>
+#include <MACIO/KVT_Protocol.ph>
 #include <GCF/TM/EventPort.h>
-#include <APL/APLProtocol/KVT_Protocol.ph>
 
 using namespace LOFAR;
 using namespace LOFAR::GCF::TM;