move model classes to .shared package