added server commands; Connection -> Singlton pattern