Crashfix, CFaction

Added a crashfix (constructor was bad)
Some typo fixes
Added CFaction and CFactionManager.