Pull module configuration into the root module

This prepares us to add submodules that share the same configuration as the main library module, as well as test dependencies etc.