REST API and foosballManager updated