move root classes to core
name -> short_name
moved protocols to core