Added ping function and make module