Initialization works.Working on ioctl() to read and write