Code generator for Windows phone