[UNTESTED] Added infrastructure for prefabs

Prefabs are currently awaiting editor implementation