refactor resources to resourcecontainer
Building strategy