added proc file and fixed require error in core