added relationships to eagerload updated arrays to 5.4 and added exceptions
added tests for relations