reconstruct resourcemanager, and rename uibase to uicontroller
Merge branch 'master' of https://github.com/mr-kelly/CosmosEngine