Engine code and the diagram for classes

This is the sample engine code i created and commented and the sample diagram of class structure