Add some comments.
Create arango exception which consists only of message.
Store AQL variable names to detect if conditions are pure values or previously created variables.