Added tables and initial AQL code