Detachment of view raw header and source files

Signed-off-by: Pouyan Heyratpour <P.Heyratpour@Gmail.Com>
Makefile: create directories in build dir

Signed-off-by: Pouyan Heyratpour <P.Heyratpour@Gmail.Com>