make that thing into a rest app because DO IT RIGHT