change order of registering extensions wrt other components
fix docstring format
fix a bug that crashes engines function crashing when key is defined
update README