abstract generic actor/server behavior into GenericServer module