create prototype and prototype-constructor files