Add samples

Add samples, fix erros and add Windows 8X template