Index: /trunk/FACT++/src/InterpreterV8.h
===================================================================
--- /trunk/FACT++/src/InterpreterV8.h	(revision 14634)
+++ /trunk/FACT++/src/InterpreterV8.h	(revision 14635)
@@ -27,4 +27,6 @@
     std::set<int> fThreadIds;
 
+    v8::Persistent<v8::Context> fGlobalContext;
+
     // A loookup table which allows to indentify the
     // the JavaScript object corrsponding to the
@@ -34,5 +36,5 @@
 
     // Lookup table for the callbacks in cases of state changes
-    std::map<std::string, v8::Persistent<v8::Object>> fStateCallbacks;
+    std::map<std::string, v8::Persistent<v8::Value>>  fStateCallbacks;
 
     // List of all timeout threads
@@ -44,6 +46,6 @@
     static v8::Handle<v8::FunctionTemplate> fTemplateLocal;
     static v8::Handle<v8::FunctionTemplate> fTemplateSky;
-    //static v8::Handle<v8::FunctionTemplate> fTemplateMoon;
-    //static v8::Handle<v8::FunctionTemplate> fTemplateDatabase;
+    static v8::Handle<v8::FunctionTemplate> fTemplateMoon;
+    static v8::Handle<v8::FunctionTemplate> fTemplateDatabase;
 
 #ifdef HAVE_SQL
@@ -86,5 +88,4 @@
 
     static double GetDataMember(const v8::Arguments &args, const char *name);
-    static v8::Handle<v8::Value> Constructor(const v8::Arguments &args);
 
     static v8::Handle<v8::Value> LocalToString(const v8::Arguments &args);
