create peripheral module