Fixed test. Writing basic types
Added structures, classes
Style fixes