Import modules instead of classes.

Changed import statements to load modules instead of clases.

Signed-off-by: Ryu Ishimoto <ryu@midokura.com>