Adding resources and code