Add some base framework

Add some base framework