Added restriction listener. Converted StorageHandler and RootConfig to implement IModule.

Signed-off-by: Vincent Deloso <mitsugaru@gmail.com>