added generalized abstract method for messages and added slug to trainers on import