code base for ChiefMech