Refactored computer class