Add LocalApp utility for easier testing