Move application & resolver to core package