wip(engine): start to implement select queries