Get rid of API module

I think it can all go in `pages`