progress on #113

still not working properly - StaticObject will correctly be initialized but then we'll end up with more than one of them (one in DLL one in app)