added instructions and sample code to extend the classes with methods required by the engine