Added module state management DB

Change-Id: I6f496c1cd04a2707bbb84a358c32b9e2923bf42c
Merge "Added module state management DB"