First version of the model for the queries. We have added the initial migration too.
First version of the aggregates in the query builder. We need to improve the styles and the check the different behaviours. We have fixed minor changes in the analytic_dump function.