added leaves model
added leaves validations