Revert "Added example method to LocalServer and small fixes"

This reverts commit ae5242db1a197e35cf6e24ddd6d06ee0f82bf5c6.