link dynamic modules (_modules, _states,...)
error handling
Merge pull request #29 from ministryofjustice/dynamic_modules

link dynamic modules (_modules, _states,...)