New add myii framework modified by jeromechan.