Structure, Competence and Learning in Adaptive Model of the Firm