Standalone client

This should fix #126.