finished userspace helper, further additions to project.h (BUFLEN, may cause issues with other functions defining BUFLEN, needs to be checked)