Revert "Modularize the code base."

This reverts commit 68a72dfe6a31b0726bcc2a49a8327f2eb85e99b9.