Towards a New Theory of Scientific Inquiry