initial commit, initial functionality for select queries