Added addAmount methot to server
Added statitstics support