Server funcationality implemented