Added proper logging and server creation shortcuts.