autodetect row and rowcollection classes, added __call() method to rowcollections