added purchases model
added validations