Fixed broken config.yaml example
Separate API into it's own class and introduce versioned /api routes.