1. resources reconstructed;
2. units built as configs;
TODO:
1. sprite/other UI related stuff for units should be in resource.js.