split in atom and category class

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>