Create abstract_server.py

Abstract server class for common use.