Added query methods
Added some simple examples