Representations of alternative algebras