Moved configs into annotation project.
Moved annotation code into a separate component.
Cope when the payload is null.