Moved Server and Plugin types into one module to prevent import cycles