Move J::Application implementation to .cpp