core: refactor application checker