First iteration of API prototype