Initial code

Initial base core