According to Nicolas Dorier, Satoshi wrote a monolithic Bitcoin software that did all the things, from consensus verification, wallet management, mining, a market place, and even a poker software. Over time some of these features were dropped entirely, and were developed into advanced and specialized standalone software.