added implementation for prototype management / retrieving custom prototypes.
scafolded test for prototype management prototype logic