Initial commit, API with example