refactore core app