Deleted completely messed up api

I'm pretty sure all functional code has been taken from it, so it now
just takes up space. If any code is still needed from it, you can look
at this commit.