Added query by type method. Supports filtering by node name, limit and offset. Ordering currently deactivated because it doesn't work.