added Makefile
open&close in userspace