[WIP] Added FQL Syntaxmake
fixed fql and emit events