New api code
Merge pull request #3 from cedricmoullet/dev_api

New api code