some design changes in enemyfactory