Very initial api implementation