introduced CodeGenrator class with first tests #8