Reviewing Engine structure. Adding documentation.