sName removed
name added; phpdocs
rename function
remove logger
some new server data added
isAssociation added
minor changes
separate class for the query