build scripts improvements
fixed issue with targets export
directory structure reorganized