min
added class copying to module prototype init