user prototype scope instead of factory
serverconnection class introduced