smarter loading of relations, collection handling for find(), and some fixes