added base model class for core models,
implemented photo process
merge