Added server class for abstraction