started building an actual api core