Im wondering.. and I dont know how to implement my gui

right now Im thinking about using messaging between drivers and the like
like messages from the gui to the video driver,
I already have this kernell that you might have heard of: MMURTL that is message based...
is messaging between the GUI server and the Video Driver and the keyboard and mouse and all others going to work well.. this would mean that the video, gui, keyboard, mouse are integral drivers/services of the kernel
am I right???
Just need some help
also, does the API have anything to do witht he way that the kernel is designed???
I want to use XFree86 and Linux API if possible but with my own implementation of the kernel
I mean to make it very simple and efficient.. extra features added later if ever needed but I mean to make it really efficient.
is XFree86 a driver??? I mean how does it fit in the system?? I think the X server is a server that works on the client server messiging system....
correct me if Im wrong in any of the above and clear up what you think you can please
thanks
