AQL query added, major bugs fixed