Added setters, getters and 'calculate' method to Server