Index: /trunk/FACT++/src/biasctrl.cc
===================================================================
--- /trunk/FACT++/src/biasctrl.cc	(revision 11476)
+++ /trunk/FACT++/src/biasctrl.cc	(revision 11477)
@@ -1,12 +1,3 @@
 #include <boost/bind.hpp>
-#include <boost/array.hpp>
-#if BOOST_VERSION < 104400
-#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4))
-#undef BOOST_HAS_RVALUE_REFS
-#endif
-#endif
-#include <boost/thread.hpp>
-#include <boost/asio/error.hpp>
-#include <boost/asio/deadline_timer.hpp>
 
 #include "Dim.h"
@@ -592,7 +583,11 @@
 */
 
+#include "Main.h"
+
 template<class T, class S, class R>
 int RunShell(Configuration &conf)
 {
+    return Main<T, StateMachineBias<S, R>>(conf);
+/*
     static T shell(conf.GetName().c_str(), conf.Get<int>("console")!=1);
 
@@ -639,5 +634,5 @@
     t.join();
 
-    return 0;
+    return 0;*/
 }
 
