use category instead of inheritance
Merge pull request #1 from dev4dev/master

use category instead of inheritance