change api to move chibirobo
catch up to new api and fix coding style