Move mob stuff into mobtraits
Add Apply flag types