moved unit and feature handling (loading, serialization) from model.lua to unitManager and featureManager