added metalogger and testing sample