separating apps from core