Improved build scripts
Added template project