Query table and model

Just register last executed queries