added basic player module logic