Joined server funtionalities to the game logic

- Now the server assings upgrades to the barrels and joined to the
gameLogic(code made by Daniel Lopez Carreras)