Simplify the resource management mechanism.

I have not given up from the initial system, but one thing is known for sure - it is overkill for this stages of development. Keep it simple for now - redesign when I need something more.