Added MethodRegistry and ObjectSorter.
Moved Scene back to Framework and refactored its Update and Render methods.