chardev skeleton code added