Styling tweaks.
Explodes the api.go file into separate files for each resource.