split attrs from appcontext module
added caching appcontext