add more descriptive comments to the public methods; add select option to the query command