Generic FindResource replaces FindConfig

Useful in frontends, too!

Signed-off-by: GreatEmerald <pastas4@gmail.com>