Integration GUI and Database

Signed-off-by: Hui Zheng <hzheng@wpi.edu>