Added stdinput interface
Fixed some dependencies on ServerMatrix