Add control module framework.

Signed-off-by: Eric Dong <eric.dongxx@gmail.com>