Base and newmod

Further improvements to newmod, additional functionality in Base's
modhandler.