Add flatten property

Remove queryEngine option
Privatize loaded property