Added mass as new unit. Added factories to create units.