Create unit.cs

initial version