Add some dependencies
Add base codes