1. adjust os directory to core
2. add json interface
3. add behavior tree (not implemented)