bug+codestyle: Fix compile bugs and adjust code style

Change-Id: I008bb538441c099fa25b8b967fbf23ffce13a220
diff --git a/docs/DesignDoc.rst b/docs/DesignDoc.rst
new file mode 100644
index 0000000..6fd0acf
--- /dev/null
+++ b/docs/DesignDoc.rst
@@ -0,0 +1,2 @@
+Design Document
+===============