Moved api.go to controllers - This commit shows the old one was deleted.