spring cleaning — moved the core data stuff outside the app delegate

Signed-off-by: Jake Bromberg <jake.bromberg@gmail.com>