Module pipeline and front-end localization

Addresses #143 and #154.