split class definitions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>