WIP class reload mechanism

This is a preview (for the sake of code review and general discussion) of the feature for class reloading (for debugging purposes, to be used mostly by app customizers).