Minor refactoring
Added server side league and match controller and needed api routes.