change attachObject() to setObject() and add getObject() .. same for property
fixed query result so returns entire result set
adjusted controller magic methods