Finished initial coding

Signed-off-by: zwliew <zhaoweiliew@gmail.com>