Some optimization and just small changes of StandaloneServer + Small stuff
Added logf