restruct the code base put application to userspace folder

add a simple automatition makefile for the application

Signed-off-by: Le Min <lemin9538@gmail.com>