added isFirst() and isPart() to StringParser class
renamed hasNext() to next() in dbQuery class