+ boost::foreach
* type and input system refactoring

Embedded buffer for resource file is still incomplete